package com.jian.mall.produce.dao;

import com.jian.mall.produce.entity.SkuSaleAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * sku销售属性&值
 * 
 * @author tainanle
 * @email 12345678@gmail.com
 * @date 2022-08-10 22:48:11
 */
@Mapper
public interface SkuSaleAttrValueDao extends BaseMapper<SkuSaleAttrValueEntity> {

    Long selectAttrIdByMaxCountSaleAttrIds(@Param("attrSaleIds") List<Long> attrSaleIds);

    List<String> saleAttrBySkuId(@Param("skuId") Long skuId);
}
